package com.csht.mapper;

import java.util.List;

import com.csht.model.CshtTwoMenu;
import com.csht.vo.goods.TwoMenuVo;
import com.csht.vo.index.menu.CshtTwoMenuVo;
import com.csht.vo.index.shangpinzhangqu.CshtTwoMenuVo_2;

public interface CshtTwoMenuMapper {
	
	/**
	 * 查询二级菜单
	 * @return
	 * @throws Exception
	 */
	public List<CshtTwoMenuVo> getTwoMenu(Integer oneMenuId) throws Exception;
	
	/**
	 * 商品展区获取二级菜单
	 * @param oneMenuId
	 * @return
	 * @throws Exception
	 */
	public List<CshtTwoMenuVo_2> getTwoAndThreeMenuAndGoods(Integer oneMenuId) throws Exception;
	
	/**
	 * 有用户登录时,商品展区获取二级菜单
	 * @param oneMenuId
	 * @return
	 * @throws Exception
	 */
	public List<CshtTwoMenuVo_2> getTTMG(Integer userId) throws Exception;
	
	/**
	 * （商品展区）根据省定位改变和一级菜单id获取二级菜单
	 * @param oneMenuId
	 * @return
	 * @throws Exception
	 */
	public List<CshtTwoMenuVo_2> getTwoByOneIdAndPosition(Integer oneMenuId) throws Exception;
	
	/**
	 * 根据二级菜单查找二级菜单
	 * @param TwoMenuId
	 * @return
	 * @throws Exception
	 */
	public CshtTwoMenu getTwoMenuById(Integer TwoMenuId) throws Exception;
	
	/**
	 * 根据一级菜单id查询二级菜单
	 * @param oneMenuId
	 * @return
	 * @throws Exception
	 */
	public List<CshtTwoMenu> getTwoMenuByOneMenuId(Integer oneMenuId) throws Exception;
	
	/**
	 * 根据三级菜单id查找二级菜单
	 * @param TwoMenuId
	 * @return
	 * @throws Exception
	 */
	public TwoMenuVo getTwoMenuByThreeMenuId(Integer TwoMenuId) throws Exception;
	

}
